package com.ibbi.admin.client.rpc.enumeration;

import java.util.List;

import corelib.client.CollectionUtil;

public class CategoryType {
	
	public static final CategoryType Page      = new CategoryType(0,  "Page",      "单页面分类");
    public static final CategoryType Article   = new CategoryType(1,  "Article",   "文章分类");
    public static final CategoryType Vedio     = new CategoryType(2,  "Vedio",     "视频分类");
    public static final CategoryType Equipment = new CategoryType(3,  "Equipment", "设备分类");
    public static final List<CategoryType> All = CollectionUtil.newArrayList(Page, Article, Vedio, Equipment);
    
	private int    Id;
	private String Name;
	private String CName;
	
	private CategoryType(int id, String name, String cname){
		this.Id = id;
		this.Name = name;
		this.CName = cname;
	}

	public int getId() {
		return Id;
	}

	public void setId(int id) {
		Id = id;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public String getCName() {
		return CName;
	}

	public void setCName(String cName) {
		CName = cName;
	}
	
	
}
